package com.it.bannner.common

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

//下载记录
@Entity(tableName = "downrecor")
data class DownRecor(
    @PrimaryKey val id: Long,
    @ColumnInfo(name = "name") var name: String?,//视频名称
    @ColumnInfo(name = "url") var url: String?,//下载路径
    @ColumnInfo(name = "path") var path: String?,//文件路径
    @ColumnInfo(name = "downed") var downed: Int?//是否下载完成

)
